-- GENERATED SPELL FOR [Dustbelcher Mauler] --


function spell0_2717(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_2717', 594, 1)
end

function Sorts_2717(pUnit, Event)
local choix_sorts_2717 = math.random(0, 0)
if choix_sorts_2717 == 0 then
pUnit:RegisterEvent('spell0_2717', 1, 1)
end
end

function mob2717_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2717', math.random(1500, 3000), 1)
end

function mob2717_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2717_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2717_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2717, 1, 'mob2717_Action')
RegisterUnitEvent(2717, 2, 'mob2717_Leave')
RegisterUnitEvent(2717, 3, 'mob2717_Kill')
RegisterUnitEvent(2717, 4, 'mob2717_Die')
